package com.jy.datapipeline.importserver.common.enums.impl;

import com.jy.datapipeline.importserver.common.enums.Enums;

/**
 * @类名 RetrySubtaskEnum
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/6/26 10:27
 * @版本 1.0
 */
public enum RetrySubtaskEnum implements Enums {

    UN_EXECUTION(0, "未执行"), EXECUTION(1, "已执行");

    private final int code;

    private final String msg;

    RetrySubtaskEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String toString() {
        return msg;
    }
}
